home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sierra's Sneak Peeks 1993
/
Sierra Sneak Peeks 1993.iso
/
menu
/
showpic.bat
< prev
next >
Wrap
DOS Batch File
|
1993-08-16
|
932b
|
60 lines
@echo off
rem SHOWPIC.BAT
rem Copyright (c) 1993 Sierra On-Line, Inc. All rights Reserved
rem See documentation in DEMO.BAT file for more information.
if "%xxd%"=="" goto Alldone
if "%1" =="" goto alldone
set xxa=
if "%xxv%"=="T" goto DoScreens
cls
type text\%1.txt
menu\getkey %2
cls
goto GotKey
:DoScreens
menu\show screens\%1.pcx 15
menu\getkey /t30 %2
:GotKey
if not "%getkey%"=="TIME" goto TimeOK
set xxa=T
goto AllDone
:TimeOK
if "%getkey%"=="ESC" goto AllDone
if "%getkey%"=="X" goto AllDone
if "%3"=="" goto AllDone
if "%xxv%"=="T" menu\show screens\black.pcx 15
if exist %xxp%%3\demo.bat goto DemoOK
mode co80
echo
echo
echo
echo
echo
echo
echo That demo is currently unavailable.
echo
echo
Echo "Press any key to continue. "
menu\getkey /t5
cls
Goto AllDone
:DemoOK
cd %xxp%%3
mode co80
call demo
mode co80
%xxd%:
cd %xxc%
:AllDone